行情查询
由 xt-market skill 驱动。全部无需 API Key,安装后即可使用。
交易对格式:小写下划线,btc_usdt。你说「BTC」「BTC/USDT」「BTCUSDT」都会被自动转换。
现货行情
| 工具 | 用途 | 关键参数 |
|---|---|---|
xt_spot_ticker | 24h 行情:最新价、开高低、涨跌幅、成交量额 | symbol |
xt_spot_top_movers | USDT 交易对榜单 | direction: gainers / losers / volume,limit |
xt_spot_depth | 盘口买卖档 | symbol, limit |
xt_spot_klines | K 线 | interval: 1m/5m/15m/30m/1h/4h/1d/1w,limit |
xt_spot_symbol_info | 交易对规则:价格/数量精度、最小下单额 | symbol |
合约行情
| 工具 | 用途 | 关键参数 |
|---|---|---|
xt_futures_ticker | 最新价、标记价、指数价、买一卖一、涨跌幅、成交量额 | symbol |
xt_futures_depth | 盘口 | symbol, level |
xt_futures_klines | K 线 | 同现货 |
xt_futures_funding_rate | 当前资金费率 + 下次结算时间 | symbol |
xt_futures_funding_rate_history | 历史资金费率序列 | symbol, limit |
xt_futures_contract_info | 合约规格:每张面值、精度、最大杠杆 | symbol |